package com.qidian.by.goods.service.feign;

import com.qidian.by.util.pojo.EsResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-05-17 08:45
 **/
@FeignClient(name = "by-free-item")
public interface FreeTemplateClient {
    @PostMapping("/make")
    EsResult<Map<String,String>> make(@RequestBody String itemData);
}
